home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1990 / Jun 90 / MacApp.Tech$ 6⁄22⁄90 / 1463-Re 'Unusual Problem'-Jun90 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.3 KB  |  33 lines  |  [TEXT/GEOL]

  1. Item    1549443                         19-June-90        06:18PDT
  2.  
  3. From:   D5369                           Mgmt Sys Des, Chuck McMath,PRT
  4.  
  5. To:     MACAPP.TEST                     MacApp SQA Team
  6.  
  7. cc:     MACAPP.TECH$                    MacApp Technical
  8.  
  9. Sub:    Re: 'Unusual Problem'
  10.  
  11. A week or so ago I posted a long message about an 'unusual problem' I was
  12. having that was driving me bonkers.  After tearing my hair out for about a
  13. week, I finally solved the problem.  It turns out that I was overflowing my
  14. stack (on Mac Plus models only) and running into the heap.
  15.  
  16. I was able to check this by using the MacApp debugger, which allows you to set
  17. breakpoints on stack useage.  Very helpful.
  18.  
  19. The reason the problem showed up on a Mac Plus but not on a Mac II was that the
  20. stack on a Mac Plus is set to 8K, whereas the stack on a Mac II is 24K.  MacApp
  21. has a 'mem!' resource that allows you to set the stack size, and its value is
  22. 8K (I suppose this is a 'lowest limit' value; if the default stack is greater
  23. than this, it remains where it is).
  24.  
  25. And now, to the MacApp team: a suggestion to save others from this unpleasant
  26. ordeal:  why not use the default 'mem!' resource to set the stack at 24K for
  27. ALL machines?  This would eliminate one more difference between the two
  28. machines.  Is there a disadvantage to doing this?
  29.  
  30.  
  31. chuck mcmath
  32.  
  33.